package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Role", description = "角色信息")
public class Role implements Serializable {

    @ApiModelProperty(value = "[自动增长]角色主键")
    private int id;

    @ApiModelProperty(value = "[必填项]角色名")
    private String name;

    private List<User> users;

    private List<Menu> Menus;
}
